package com.rjwh.dingdong.client.mvp.view;

import android.support.annotation.Nullable;

import com.rjwh.dingdong.client.bean.localbean.Song;
import com.rjwh.dingdong.client.mvp.MvpView;
import com.rjwh.dingdong.client.player.PlayMode;
import com.rjwh.dingdong.client.player.PlayState;
import com.rjwh.dingdong.client.service.PlaybackService;

import java.util.List;

/**
 * @author Kay
 * @ClassName RadioLocalPlayListView
 * @Description
 * @date 2016-10-28
 * @history 2016-10-28 author: description:
 */

public interface RadioLocalPlayListView extends MvpView{
    //绑定Service
    void onPlaybackServiceBound(PlaybackService service);

    //接触绑定Service
    void onPlaybackServiceUnbound();

    //更新界面信息
    void onSongUpdated(@Nullable Song song);

    //更新播放状态
    void updatePlayToggle(PlayState play);

    void updatePlayMode(PlayMode lastPlayMode);

    void updatePlayList(List<Song> songs);
}
